2006-11-21 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentmanager.c:
(get_uri_shortname_for_display): g_filename_from_uri() might
fail; catch the failure and fall back to the non-local URI
case. (#363437)
+2006-11-21 Emmanuele Bassi <ebassi@gnome.org>
+
+ * gtk/gtkrecentmanager.c:
+ (get_uri_shortname_for_display): g_filename_from_uri() might
+ fail; catch the failure and fall back to the non-local URI
+ case. (#363437)
+
2006-11-19 Mark McLoughlin <mark@skynet.ie>
Fixes bug #376502 - multi-screen support for GtkStatusIcon
local_file = g_filename_from_uri (uri, NULL, NULL);
- if (local_file != NULL)
+ if (local_file)
{
name = g_filename_display_basename (local_file);
validated = TRUE;
g_free (local_file);
}
- else
+
+ if (!name)
{
gchar *method;
gchar *local_file;